<h1>
    <center>

        <b>ACTIVIDAD ECONOMICA</b>

    </center>
</h1>

<table>

    <thead>

    <table border=3 cellspacing=0 cellpadding=3 bordercolor="666633">
        <tr>
                <th>Produccion</th>
                <th>Transformacion</th>
            
          
           
            <th colspan="3"><center>OPCIONES</center></th>
        </tr>


        </thead>

        <tbody>

            <?php foreach ($activities as $activity): ?>

                <tr>
                    <td>
                    
                        <?php if($activity['Activity']['produccion']==1){echo "X";}?>
                           
                   
                    <td><?php echo $activity['Activity']['transformacion'] ?></td>

                    <td><?php echo $activity['Activity']['ver'], $this->Html->link('Ver', array('action' => 'view', $activity['Activity']['id'])) ?></td>
                    <td><?php echo $activity['Activity']['editar'], $this->Html->link('Editar', array('action' => 'edit', $activity['Activity']['id'])) ?></td>
                    <td><?php echo $activity['Activity']['eliminar'], $this->Html->link('eliminar', array('action' => 'delete', $activity['Activity']['id']), null, 'Esta seguro que desea ELIMINAR?') ?></td>
                </tr>

            <?php endforeach; ?>
        </tbody>






    </table>
    <?php echo $this->Html->link('Adicionar Actividad', array('controller' => 'activities', 'action' => 'add')); ?>
